package com.qixiaobao.direct.invoice.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 直投发票管理-开票中、已开票-费用VO
 * @Author yangxm
 * @Date 2025/7/3 14:41
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
@ExcelIgnoreUnannotated
public class DirectInvoiceChargeVO implements Serializable {
    private static final long serialVersionUID = -6999351256091185150L;

    private Long costId;
    private Long chargeId;
    private Long invoiceId;

    @ColumnWidth(10)
    @ExcelProperty("序号")
    private Integer index;
    @ExcelProperty("保单号")
    private String insureNo;
    @ExcelProperty("客户名称")
    private String customerName;
    /** 套餐名称 */
    private String mealName;
    @ExcelProperty("套餐名称")
    private String meanNameVal;
    /** 投保周期 */
    private String insurePeriod;
    @ExcelProperty("投保周期")
    private String insurePeriodVal;
    /** 职业类别 */
    private String jobType;
    @ExcelProperty("职业类别")
    private String jobTypeVal;
    /** 投保方式 */
    private String insureType;
    @ExcelProperty("投保方式")
    private String insureTypeVal;
    @ExcelProperty("生效起期")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date gurantBeginTime;
    @ExcelProperty("生效止期")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date gurantEndTime;
    /** 增员人数 */
    private Integer addNum;
    /** 减员人数 */
    private Integer minusNum;
    @ExcelProperty("投保人数")
    private String insurePerson;
    @ExcelProperty("保险费/人")
    private BigDecimal copeInsureFeePrice;
    @ExcelProperty("保险费总计")
    private BigDecimal copeInsureFee;
    /** 客服 */
    private Long serviceId;
    @ExcelProperty("客户")
    private String serviceName;
}
